package com.spzx.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.spzx.product.domain.ProductSpec;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductSpecMapper extends BaseMapper<ProductSpec> {
    /**
     * 查询商品规格列表
     *
     * @param page
     * @param productSpec 商品规格
     * @return 商品规格集合
     */
    //List<ProductSpec> selectProductSpecList(ProductSpec productSpec);

    List<ProductSpec> selectProductSpecPage(Page<ProductSpec> page, @Param("productSpec") ProductSpec productSpec);

    List<ProductSpec> selectProductSpecList(ProductSpec productSpec);
}

/*public interface ProductSpecMapper extends BaseMapper<ProductSpec> {
    List<ProductSpec> selectProductSpecPage(Page<ProductSpec> page , @Param("productSpec") ProductSpec productSpec);
}*/
